
#include "../../common/message.hpp"
#include "../../common/net.hpp"
#include "../../common/dispatcher.hpp"
#include "../../common/muduobase/include/muduo/base/Logging.h"
#include "../../server/rpc_router.hpp"
#include "../../server/rpc_server.hpp"

int main()
{
    // 0、先去掉内部日志。
    muduo::Logger::setLogLevel(muduo::Logger::FATAL);

    // 当前是注册中心服务器，端口号8080
    RPC::Server::RegisterServer register_server(8080);
    register_server.start();
    return 0;
}